package cn.onlineclass.entity;

import java.util.Date;

public class ORatation {
    private Long id;

    private String title;

    private String url;

    private String picurl;

    private Date createtime;

    private Boolean inuse;

    private Date modifytime;

    public ORatation() {
    }

    public ORatation(String title, String url, String picurl, Boolean inuse) {
        this.title = title;
        this.url = url;
        this.picurl = picurl;
        this.inuse = inuse;
    }

    public ORatation(Long id, String title, String url, String picurl, Boolean inuse) {
        this.id = id;
        this.title = title;
        this.url = url;
        this.picurl = picurl;
        this.inuse = inuse;
    }

    public ORatation(Long id, Boolean inuse) {
        this.id = id;
        this.inuse = inuse;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    public String getPicurl() {
        return picurl;
    }

    public void setPicurl(String picurl) {
        this.picurl = picurl == null ? null : picurl.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Boolean getInuse() {
        return inuse;
    }

    public void setInuse(Boolean inuse) {
        this.inuse = inuse;
    }

    public Date getModifytime() {
        return modifytime;
    }

    public void setModifytime(Date modifytime) {
        this.modifytime = modifytime;
    }
}